package io.renren.dao;


import io.renren.po.IllegalVehicleRanking;
import io.renren.po.IllegalVehicle;
import io.renren.po.CollectionTimeInfo;
import io.renren.po.IllegalVehicleResp;

import java.util.List;


public interface IllegalVehicleDao {

	/**
	 * 查询违法车辆最新排行榜 
	 * @param illegalType
	 * @return
	 */
	List<IllegalVehicleRanking> queryIllegalVehicle(String illegalType);
	
	/**
	 * 查询历史记录时间
     * @param illegalVehicle
	 * @return
	 */
	List<CollectionTimeInfo> queryIllegalVehicleHistry(IllegalVehicle illegalVehicle);
	
	/**
	 * 查询历史排行榜 
	 * @param illegalVehicle
	 * @return
	 */
	List<IllegalVehicleRanking> queryIllegalVehicleHistryInfo(IllegalVehicle illegalVehicle);
	
	/**
	 * 通过id查询违法车辆排行榜内容明细
	 * @param id
	 * @return
	 */
	IllegalVehicleResp queryIllegalVehicleInfo(int id);
}
